import request from '@/utils/request'

// 查询表头设置列表
export function listStockheadersettting(query) {
  return request({
    url: '/stock/stockheadersettting/list',
    method: 'get',
    params: query
  })
}

// 查询表头设置详细
export function getStockheadersettting(id) {
  return request({
    url: '/stock/stockheadersettting/' + id,
    method: 'get'
  })
}

// 新增表头设置
export function addStockheadersettting(data) {
  return request({
    url: '/stock/stockheadersettting',
    method: 'post',
    data: data
  })
}

// 修改表头设置
export function updateStockheadersettting(data) {
  return request({
    url: '/stock/stockheadersettting',
    method: 'put',
    data: data
  })
}

// 删除表头设置
export function delStockheadersettting(id) {
  return request({
    url: '/stock/stockheadersettting/' + id,
    method: 'delete'
  })
}
